package com.han.ctroomtype.pojo.base;

import net.good321.frame.data.*;

/**
 * this class file is auto output by net.good321.frame.db.tool.PoPrinter
 * @see net.good321.frame.db.tool.PoPrinter
 */
public abstract class BaseTbWalletPo extends BasePo {

	public static final String PROP_ID = "id";
	public static final String PROP_USERID = "userid";
	public static final String PROP_BALANCE = "balance";
	public static final String PROP_OVERDRAFT = "overdraft";
	public static final String PROP_USERTYPE = "usertype";
	public static final String PROP_PAYPASSWORD = "paypassword";
	public static final String PROP_STATE = "state";

	/**主键*/
	private java.lang.Integer id = null;
	/**用户id*/
	private java.lang.String userid = null;
	/**余额*/
	private java.lang.Float balance = 0.00;
	/**允许透支额度*/
	private java.lang.Float overdraft = 0.00;
	/**用户类型（1，酒店，2帮工，3平台）*/
	private java.lang.Integer usertype = null;
	/**支付密码*/
	private java.lang.String paypassword = null;
	/**状态1未激活，2已激活*/
	private java.lang.Integer state = null;

	/**get 主键*/
	public java.lang.Integer getId(){
		return id;
	}

	/**set 主键*/
	public void setId(java.lang.Integer id){
		this.id = id;
	}

	/**get 用户id*/
	public java.lang.String getUserid(){
		return userid;
	}

	/**set 用户id*/
	public void setUserid(java.lang.String userid){
		this.userid = userid;
	}

	/**get 余额*/
	public java.lang.Float getBalance(){
		return balance;
	}

	/**set 余额*/
	public void setBalance(java.lang.Float balance){
		this.balance = balance;
	}

	/**get 允许透支额度*/
	public java.lang.Float getOverdraft(){
		return overdraft;
	}

	/**set 允许透支额度*/
	public void setOverdraft(java.lang.Float overdraft){
		this.overdraft = overdraft;
	}

	/**get 用户类型（1，酒店，2帮工，3平台）*/
	public java.lang.Integer getUsertype(){
		return usertype;
	}

	/**set 用户类型（1，酒店，2帮工，3平台）*/
	public void setUsertype(java.lang.Integer usertype){
		this.usertype = usertype;
	}

	/**get 支付密码*/
	public java.lang.String getPaypassword(){
		return paypassword;
	}

	/**set 支付密码*/
	public void setPaypassword(java.lang.String paypassword){
		this.paypassword = paypassword;
	}

	/**get 状态1未激活，2已激活*/
	public java.lang.Integer getState(){
		return state;
	}

	/**set 状态1未激活，2已激活*/
	public void setState(java.lang.Integer state){
		this.state = state;
	}

	@Override
	public String[] props() {
		return new String[]{"`id`" ,"`userid`" ,"`balance`" ,"`overdraft`" ,"`usertype`" ,"`paypassword`" ,"`state`"};
	}
	@Override
	public Object[] propValues() {
		return new Object[]{id ,userid ,balance ,overdraft ,usertype ,paypassword ,state};
	}
}
